package com.angel.service.ServiceImpl;

import org.springframework.stereotype.Service;
import javax.annotation.Resource;
import java.util.List;
import com.angel.bean.Otherlog;
import com.angel.mapper.OtherlogDao;
import com.angel.service.OtherlogService;

@Service
public class OtherlogServiceImpl implements OtherlogService{

    @Resource
    private OtherlogDao otherlogDao;

    @Override
    public int insert(Otherlog otherlog){
        return otherlogDao.insert(otherlog);
    }

    @Override
    public int insertSelective(Otherlog otherlog){
        return otherlogDao.insertSelective(otherlog);
    }

    @Override
    public int insertList(List<Otherlog> otherlogs){
        return otherlogDao.insertList(otherlogs);
    }

    @Override
    public int update(Otherlog otherlog){
        return otherlogDao.update(otherlog);
    }
}
